/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package proyectoprogra3;

import java.awt.Color;
import java.awt.FlowLayout;
import java.awt.GridBagLayout;
import javax.swing.*;

/**
 * 
 * @author Cáceres Cristóbal
 */
public class PTextArea extends JPanel{
     JTextArea txtRapido;
    private JPanel pn;
    public PTextArea() {
       this.setLayout(new FlowLayout());
       // this.add(pn=new JPanel());
        //this.setSize(600, 600);
       //pn.setLayout(new FlowLayout());
        //this.add(pn=new JPanel());
        //pn.setLayout(new FlowLayout());
        //pn.setBounds(20, 20, 600,600);
        txtRapido = new JTextArea("Escriba aqui su texto", 6,25);
        //txtRapido.setSize(400, 300);
       // txtRapido.setBorder(BorderFactory.createLineBorder(Color.yellow));
        this.add(txtRapido);
       // this.repaint();
    }
}

